package com.tarena.lbs.business.dao.repository;

import com.github.pagehelper.PageInfo;
import com.tarena.lbs.business.pojo.po.StorePO;
import com.tarena.lbs.business.pojo.query.AreaStoreQuery;
import com.tarena.lbs.business.pojo.query.StoreQuery;
import com.tarena.lbs.business.pojo.vo.StoreVO;
import org.springframework.stereotype.Repository;

import java.util.List;


public interface StoreRepository {
    PageInfo<StorePO> pagesList(StoreQuery query);
    void addStore(StorePO po);
    List<StoreVO> listById(AreaStoreQuery query);
    StorePO getStoreById(Integer id);
    void deleteStore(Integer id);
}
